import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import {
  Icon,
  Search,
  Swipe,
  SwipeItem,
  Cell,
  CellGroup,
  Tag,
  PullRefresh,
  List,
  Loading,
  Lazyload,
  Tab,
  Tabs,
  Form,
  Field,
  Button,
  Col,
  Row,
  Notify,
  Dialog,
  NoticeBar,
  Uploader,
  Popup,
  Toast
} from 'vant';

Vue.use(Icon);
Vue.use(Search);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Tag);
Vue.use(PullRefresh);
Vue.use(List);
Vue.use(Loading);
Vue.use(Lazyload);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Col);
Vue.use(Row);
Vue.use(Notify);
Vue.use(Dialog);
Vue.use(NoticeBar);
Vue.use(Uploader);
Vue.use(Popup);
Vue.use(Toast);

Vue.config.productionTip = false;

import axios from 'axios'
import VueAxios from 'vue-axios'
import animated from 'animate.css'
Vue.use(VueAxios, axios);
Vue.use(animated);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
